<?php
$val = $_GET['val'];
$primerlugar = $_GET['lug'];
?>
<script>
    $("#contenedor").ready(function(){
        cargarAJAX('tablaOrdenesReporte.php?val=<?php echo $val; ?>&lug=<?php echo $primerlugar; ?>', 'tablaOrdenesReporte');
    });
</script>

<div id="tablaOrdenesReporte" style="height:auto">
    
</div>
    <button style="margin-left: 43%; margin-top: 10px" type="button" onclick="imprimir('tablita')"><h2>Imprimir</h2></button>
